import request from '@/utils/request'



// 日
export function getCensus(id,date) {
  return request({
    url: '/business/census/'+id+'/'+date,
    method: 'get'
  })
}

export function getTypeCensus(typeid,typedate) {
  return request({
    url: '/business/census/type/'+typeid+'/'+typedate,
    method: 'get'
  })
}


// 月
export function getMonth(id,date) {
  return request({
    url: '/business/month/'+id+'/'+date,
    method: 'get'
  })
}

export function getMonthCensus(typeid,typedate) {
  return request({
    url: '/business/month/type/'+typeid+'/'+typedate,
    method: 'get'
  })
}
// 年
export function getYear(id,date) {
  return request({
    url: '/business/year/'+id+'/'+date,
    method: 'get'
  })
}

export function getYearCensus(typeid,typedate) {
  return request({
    url: '/business/year/type/'+typeid+'/'+typedate,
    method: 'get'
  })
}


